package com.hongdou.entity;


import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Random;



@Data //提供getset方法
@Accessors // 赋值的时候连着赋值
public class Dept implements Serializable {

    private Long deptId;
    private String dName;
    private String dbSource;

    public Dept(){

    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public String getDbSource() {
        return dbSource;
    }

    public void setDbSource(String dbSource) {
        this.dbSource = dbSource;
    }

    public Dept(Long deptId, String dName, String dbSource) {
        this.deptId = deptId;
        this.dName = dName;
        this.dbSource = dbSource;
    }



}
